/* ABOUT SECTION */

.about-bg-head {
  background: url("../media/images/BGs/VideoToPhoto\ 638155885662393248_homePageAbout.webp") no-repeat center center/cover;
  height: 50dvh;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.about-bg-head::after {
  content: "";
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(1px);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
}

.about-title {
  margin-bottom: 1rem;
  font-size: 1.92em;
  font-weight: 600;
  color: #f4eaff;
  text-shadow: 2px 2px 2px #440099;
  text-transform: uppercase;
  z-index: 4;
}

.about-intro {
  margin: 0 auto;
  max-width: 800px;
  text-align: center;
  display: flex;
  flex-direction: column;
  z-index: 4;
}

.about-intro :nth-child(1) {
  color: #f4eaff;
  font-size: 1.6em;
}

.about-intro :nth-child(1) span {
  font-weight: 800;
  font-size: 2.304em;
}

.about-intro :nth-child(2) {
  color: #f4eaff;
  font-size: 1.6em;
  font-weight: 200;
}

.about-section {
  max-width: 1300px;
  width: 100dvw;
  margin: 2rem auto;
  padding: 2rem 2rem 4rem;
  background-color: #440099;
  position: relative;
}

.about-section-CTA {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: white;
  padding: 0.8rem 1rem;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.about-section-CTA a {
  font-size: 1.6em;
  font-weight: 400;
  text-decoration: none;
  color: #440099;
}

.about-section-CTA:hover {
  background-color: #440099;
}

.about-section-CTA:hover a {
  color: #fff;
}

.about-section-box1 {
  background-color: #f4eaff;
  padding: 1rem;
  position: relative;
}

.about-section-box1-absolute {
  position: absolute;
  top: 0;
  right: 0;
  background-color: #440099;
  padding: 0.8rem 1rem;
  border-bottom-left-radius: 8px;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}

.about-section-box1-absolute:hover {
  background-color: #f4eaff;
}

.about-section-box1-absolute a {
  font-size: 1.6em;
  color: #f4eaff;
  text-decoration: none;
}

.about-section-box1-absolute:hover a {
  color: #440099;
}

.about-section-box2 {
  background-color: transparent;
  padding: 1rem;
}

.about-section-box3 {
  background-color: #f4eaff;
  padding: 1rem;
}

.about-section-box1,
.about-section-box3 {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.figure-container,
.about-text-container {
  flex: 1 1 300px;
}

.figure-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

figure {
  border: #440099 2px solid;
  background-color: #fbfbfb;
  height: 210px;
  width: 60%;
  padding: 1rem;
  overflow: hidden;
}

figure img {
  border: #440099 1px solid;
  height: 100%;
  width: 100%;
  object-fit: cover;
}

figcaption {
  text-align: center;
  font-size: 1.6em;
  color: #440099;
}

.about-section-box2 p {
  margin: 2rem 1rem;
  font-size: 1.6em;
  color: #f4eaff;
  font-weight: 400;
  text-align: justify;
}

.about-text-container {
  display: flex;
  align-items: center;
}

.about-text-container p {
  font-size: 1.6em;
  color: #440099;
  font-weight: 400;
  text-align: justify;
}

.box1-p,
.box2-p,
.box3-p {
  position: relative;
}

.box1-p::after,
.box3-p::after,
.box2-p::after {
  content: "";
  position: absolute;
  height: 2px;
  width: 100px;
  top: -1rem;
  left: 0;
  background-color: #440099;
  z-index: 10;
}

.box2-p::after {
  background-color: #f4eaff;
}


/* RESPONSIVE */
@media (max-width: 768px) {

  .about-details {
    flex-direction: column;
  }

  .detail-col {
    margin-bottom: 1rem;
  }

  .about-section-CTA {
    padding: 0.4rem 0.5rem;
  }
}
